Fetch Sub Accounts by ID
Get details of your created sub account by its ID. You can get this in either NGN or GHS.
GET
https://api.spotflow.co/api/v1/accounts/:id
Headers
authorization |
|
---|
Path Parameters
id int32
This is the unique ID
generated upon creation of your sub account. You can also use your main account id found on the Get all main sub accounts endpoint .
Sample Response for NGN Using A Sub-Account ID:
200 OK
{
"id": "e0189fb1-3210-42e9-96fe-aeb5215c086c",
"balanceId": "bln_9b38a55f-2665-4a05-8936-e8067c131f98",
"accountName": "Newly LLC",
"accountNumber": "8213714164",
"parentAccountId": "43bbf6b7-6bf0-4aec-b145-eef4d3b29a75",
"currency": "NGN",
"mode": "test",
"accountTag": "sub-account",
"status": "active",
"createdAt": "2025-07-02T14:09:45.536072Z",
"updatedAt": "2025-08-06T13:42:55.654057Z"
}
Sample Response for GHS Using A Sub-Account ID:
200 OK
{
"id": "28d13bb8-9df4-4aa6-be9a-a06095b2b0b7",
"balanceId": "bln_be74ded7-bd35-4f0d-8e85-8482c4b5f926",
"accountName": "Ollie Account",
"accountNumber": "1985812247",
"parentAccountId": "43bbf6b7-6bf0-4aec-b145-eef4d3b29a75",
"currency": "GHS",
"mode": "live",
"accountTag": "sub-account",
"status": "active",
"createdAt": "2025-08-07T12:44:37.908495Z",
"updatedAt": "2025-08-07T12:44:38.690709Z"
}